home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / MFC_Samples / stasplit / mainfrm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  1.3 KB  |  55 lines

  1. // mainfrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CNestedSplitterWnd : public CSplitterWnd
  6. {
  7. protected:
  8.     virtual BOOL SplitRow(int);
  9.     virtual BOOL SplitColumn(int);
  10. };
  11.  
  12. class CMainFrame : public CFrameWnd
  13. {
  14. protected: // create from serialization only
  15.     CMainFrame();
  16.     DECLARE_DYNCREATE(CMainFrame)
  17.  
  18. // Attributes
  19. protected:
  20.     CSplitterWnd        m_wndSplitter1;    // Static splitter
  21.     CNestedSplitterWnd    m_wndSplitter2;    // Nested dynamic splitter
  22. #if (_WIN32_WCE > 200)
  23.     CCeCommandBar m_wndCommandBar;
  24. #endif
  25.  
  26. // Operations
  27. public:
  28.  
  29. // Overrides
  30.     // ClassWizard generated virtual function overrides
  31.     //{{AFX_VIRTUAL(CMainFrame)
  32.     public:
  33.     virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  34.     //}}AFX_VIRTUAL
  35.  
  36. // Implementation
  37. public:
  38.     virtual ~CMainFrame();
  39. #ifdef _DEBUG
  40.     virtual void AssertValid() const;
  41.     virtual void Dump(CDumpContext& dc) const;
  42. #endif
  43.  
  44. protected:  // control bar embedded members
  45.  
  46. // Generated message map functions
  47. protected:
  48.     //{{AFX_MSG(CMainFrame)
  49.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  50.     //}}AFX_MSG
  51.     DECLARE_MESSAGE_MAP()
  52. };
  53.  
  54. /////////////////////////////////////////////////////////////////////////////
  55.